.yujin-item {
    img {
        width: 110px;
        height: 100%;
        z-index: 2;
    }


    p {
        z-index: 2;
        margin-left: 26px;
    }

    .relative {
        position: relative;
    }

    .item-bg {
        height: 60px;
        width: 67px;
        font-size: 12px;
        border-radius: 6px;
        justify-content: space-around;
        position: relative;
        overflow: hidden;

        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background: inherit;
            border-radius: 4px;
            z-index: 1;
        }
    }

    .item-content {
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .red-bg {
        background: linear-gradient(to bottom,
                rgba(240, 45, 45, 0.3),
                rgba(255, 255, 255, 0),
                rgba(240, 45, 45, 0.3));

        border: 1px solid rgba(240, 45, 45, 1);
        color: rgba(240, 45, 45, 1);

        .value {
            background: linear-gradient(to bottom,
                    rgba(255, 255, 255, 1),
                    rgba(240, 45, 45, 1));

            font-size: 18px;
            /* 关键属性：让文字颜色变成背景渐变 */
            -webkit-background-clip: text;
            /* 兼容 Chrome/Safari */
            background-clip: text;
            color: transparent;
            /* 让文字透明，显示背景渐变 */

            font-weight: bold;
        }

        &::before {
            color: rgba(240, 45, 45, 0.8);
        }
    }

    .org-bg {
        background: linear-gradient(to bottom,
                rgba(255, 132, 0, 0.3),
                rgba(255, 255, 255, 0),
                rgba(255, 132, 0, 0.3));

        border: 1px solid rgba(255, 132, 0, 1);
        color: rgba(255, 132, 0, 1);

        .value {
            background: linear-gradient(to bottom,
                    rgba(255, 255, 255, 1),
                    rgba(255, 132, 0, 1));

            font-size: 18px;
            /* 关键属性：让文字颜色变成背景渐变 */
            -webkit-background-clip: text;
            /* 兼容 Chrome/Safari */
            background-clip: text;
            color: transparent;
            /* 让文字透明，显示背景渐变 */

            font-weight: bold;
        }

        &::before {
            color: rgba(255, 132, 0, 0.8);
        }
    }

    .yellow-bg {
        background: linear-gradient(to bottom,
                rgba(255, 221, 0, 0.3),
                rgba(255, 255, 255, 0),
                rgba(255, 221, 0, 0.3));

        border: 1px solid rgba(255, 221, 0, 1);
        color: rgba(255, 221, 0, 1);

        .value {
            background: linear-gradient(to bottom,
                    rgba(255, 255, 255, 1),
                    rgba(255, 221, 0, 1));

            font-size: 18px;
            /* 关键属性：让文字颜色变成背景渐变 */
            -webkit-background-clip: text;
            /* 兼容 Chrome/Safari */
            background-clip: text;
            color: transparent;
            /* 让文字透明，显示背景渐变 */

            font-weight: bold;
        }

        &::before {
            color: rgba(255, 221, 0, 0.8);
        }
    }

    .blue-bg {
        background: linear-gradient(to bottom,
                rgba(136, 178, 255, 0.3),
                rgba(255, 255, 255, 0),
                rgba(136, 178, 255, 0.3));

        border: 1px solid rgba(136, 178, 255, 1);
        color: rgba(136, 178, 255, 1);

        .value {
            background: linear-gradient(to bottom,
                    rgba(255, 255, 255, 1),
                    rgba(136, 178, 255, 1));

            font-size: 18px;
            /* 关键属性：让文字颜色变成背景渐变 */
            -webkit-background-clip: text;
            /* 兼容 Chrome/Safari */
            background-clip: text;
            color: transparent;
            /* 让文字透明，显示背景渐变 */

            font-weight: bold;
        }

        &::before {
            color: rgba(136, 178, 255, 0.8);
        }
    }
}

.right-warning {
    .ant-radio-button-wrapper {
        border: 0 !important;

        &::before {
            width: 0 !important;
        }
    }

    .ant-radio-button-wrapper-checked {
        border: none !important;
        border-bottom: 2px solid #ddd !important;
        border-radius: 0 !important;

        &::before {
            width: 0 !important;
        }
    }

    .ant-carousel {
        height: 100%;

        .slick-slider {
            height: 100%;
        }

        .slick-list {
            height: 100%;
            margin: 0 !important;
        }

        .slick-track {
            height: 100%;
        }

        .slick-slide {
            height: 100%;
            padding: 0 !important;
            margin: 0 !important;

            >div {
                height: 100%;
                width: 100%;
                display: flex;
                flex-direction: column;
                padding: 0 !important;
                margin: 0 !important;
                box-sizing: border-box;
            }
        }
    }

    .video-item-div {
        display: flex !important;
    }
}

.border-snake rect {
    stroke-dasharray: 40 300;
    stroke-dashoffset: 0;
    animation: snake-move 3s linear infinite;
}

@keyframes snake-move {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -340;
    }
}

// 视频监控样式
.video-monitor-slide {
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
    .video-monitor-container {
        height: calc(100% - 16px);
        margin: 8px;
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        box-sizing: border-box;
    }
}

.video-player-area {
    flex: 1;
    position: relative;
    
    .video-screen {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
        border-radius: 4px;
        position: relative;
        overflow: hidden;
        border: 2px solid rgba(0, 150, 255, 0.3);
        
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
            pointer-events: none;
        }
    }
    
    .monitor-name-overlay {
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        z-index: 3;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .play-button-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        
        .play-btn {
            width: 50px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.8);
            background: rgba(0, 0, 0, 0.6);
            border-radius: 50%;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            
            &:hover:not(:disabled) {
                background: rgba(0, 150, 255, 0.8);
                border-color: #0096ff;
                transform: scale(1.1);
            }
            
            &:disabled {
                opacity: 0.5;
                cursor: not-allowed;
                background: rgba(255, 69, 0, 0.6);
                border-color: rgba(255, 69, 0, 0.8);
            }
        }
    }
    
    .video-grid {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.1;
        
        .grid-line {
            position: absolute;
            background: rgba(255, 255, 255, 0.3);
            
            &.horizontal {
                height: 1px;
                left: 0;
                right: 0;
                
                &:nth-child(1) {
                    top: 33.33%;
                }
                
                &:nth-child(2) {
                    top: 66.66%;
                }
            }
            
            &.vertical {
                width: 1px;
                top: 0;
                bottom: 0;
                
                &:nth-child(3) {
                    left: 33.33%;
                }
                
                &:nth-child(4) {
                    left: 66.66%;
                }
            }
        }
    }
}